﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace PlutoStudio.Web.Mvc.Navigations
{
    public class NavigationAttribute : FilterAttribute
    {
        private string title;
        public NavigationAttribute(string title)
        {
            this.title = title;
            this.ShowInMenu = true;
        }

        public string IconClass { get; set; }

        public string Title
        {
            get
            {
                return title;
            }
        }

        public int ItemOrder { get; set; }

        public bool ShowInMenu { get; set; }
    }

    public class BreadcrumbAttribute : FilterAttribute
    {
        private string title;
        public BreadcrumbAttribute(string title)
        {
            this.title = title;
        }

        public string IconClass { get; set; }

        public string Title
        {
            get
            {
                return title;
            }
        }

    }

}
